﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Medianamik.Core.ImportExport
{
    public class RecordTreeItem
    {
        public RecordTreeItem()
        { }

        public Record Record { get; set; }

        public RecordTreeItem Parent { get; set; }

        private List<RecordTreeItem> _children;
        public List<RecordTreeItem> Children 
        {
            get { return _children ?? (_children = new List<RecordTreeItem>()); }
        }
    }
}
